package com.taobao.api.response;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: taobao.omniorder.storecollect.query response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class OmniorderStorecollectQueryResponse extends TaobaoResponse {

	private static final long serialVersionUID = 5896513942319448926L;

	/** 
	 * result
	 */
	@ApiField("result")
	private Result result;


	public void setResult(Result result) {
		this.result = result;
	}
	public Result getResult( ) {
		return this.result;
	}
	
	/**
 * data
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class StoreCollectQueryOrderResponse extends TaobaoObject {

	private static final long serialVersionUID = 2831154382166556764L;

	/**
		 * 主订单ID
		 */
		@ApiField("main_order_id")
		private Long mainOrderId;
	

	public Long getMainOrderId() {
			return this.mainOrderId;
		}
		public void setMainOrderId(Long mainOrderId) {
			this.mainOrderId = mainOrderId;
		}

}

	/**
 * result
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class Result extends TaobaoObject {

	private static final long serialVersionUID = 2819651758124586289L;

	/**
		 * data
		 */
		@ApiField("data")
		private StoreCollectQueryOrderResponse data;
		/**
		 * 0表示码可用，其余值表示码不可用
		 */
		@ApiField("err_code")
		private String errCode;
		/**
		 * 码状态附加信息，若码可用则此处为空
		 */
		@ApiField("err_msg")
		private String errMsg;
	

	public StoreCollectQueryOrderResponse getData() {
			return this.data;
		}
		public void setData(StoreCollectQueryOrderResponse data) {
			this.data = data;
		}
		public String getErrCode() {
			return this.errCode;
		}
		public void setErrCode(String errCode) {
			this.errCode = errCode;
		}
		public String getErrMsg() {
			return this.errMsg;
		}
		public void setErrMsg(String errMsg) {
			this.errMsg = errMsg;
		}

}



}
